#
# Be sure to run `pod lib lint AWSS3Core.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'AWSS3Core'
  s.version          = '2.4.3'
  s.summary          = 'A short description of AWSS3Core.'

 
  s.homepage         = 'https://gitee.com/chengssir/AWSS3Core'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'chengssir' => 'chengssir' }
  s.source           = { :git => 'https://gitee.com/chengssir/AWSS3Core.git', :tag => s.version.to_s }

  s.ios.deployment_target = '10.0'

 if ENV['use_code'] or ENV[s.name+'_use_code']
    s.source_files = 'AWSS3Core/AWSS3Core/**/*'
 else #Framework模式
    s.vendored_frameworks = 'build_XCFramework/AWSS3Core.xcframework'
 end

  s.frameworks   = 'CoreGraphics', 'UIKit', 'Foundation', 'SystemConfiguration', 'Security'
  s.libraries    = 'z', 'sqlite3'
  s.requires_arc = true
  s.public_header_files = 'Pod/Classes/**/*.h'
  s.resource_bundles = {'AWSS3Core' => ['AWSS3Core/AWSS3Core/PrivacyInfo.xcprivacy']}
end

